package com.ziyu.auth;

import com.ziyu.common.security.annotation.EnableZyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 认证授权中心
 *
 * @author cyj
 */
@EnableZyFeignClients
@ComponentScan("com.ziyu")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class ZiYuAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZiYuAuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  认证授权中心启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "   ____      _     __   __          \n" +
                "  |_  /     (_)    \\ \\ / /   _  _   \n" +
                "   / /      | |     \\ V /   | +| |  \n" +
                "  /___|    _|_|_    _|_|_    \\_,_|  \n" +
                "_|\"\"\"\"\"| _|\"\"\"\"\"| _| \"\"\" | _|\"\"\"\"\"| \n" +
                "\"`-0-0-' \"`-0-0-' \"`-0-0-' \"`-0-0-' ");
    }

}
